Skip to content

chore: release v0.10.4 - #87

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-11-20T10-21-52Z
Closed

github-actions[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-11-20T10-21-52Z

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

🤖 New release

  • rusty_xml-tree: 0.10.3 -> 0.10.4
  • rusty_xml-parser: 0.10.3 -> 0.10.4
  • rusty_xml: 0.10.3 -> 0.10.4
  • rusty_xml-cli: 0.10.3 -> 0.10.4
Changelog

rusty_xml-tree

0.10.4 - 2026-11-20

Changed

  • XmlDoc::with_node_capacity reserves exactly cap nodes (at least 1); it used to raise a cap under 4 to 4. xml_new_doc and the parsers that build trees still ask for at least 4, so their arenas are unchanged; a no-tree parse asks for 1 and has nothing to shrink (#80, #85).

rusty_xml-parser

0.10.4 - 2026-11-20

Performance

  • xml_sax_parse_memory and xml_read_memory start each parse from the buffers the thread's last one-shot parse grew, as an XmlSaxParser does. A thread keeps at most 64 KiB (12 KiB after the 202 XML parts of four PPTX files); a parse that grows more frees its buffers as before.
  • Namespace declarations reuse their frames and prefix and URI buffers. The per-parse setup no longer allocates for encoding names, the XML declaration's version and standalone values, or a no-tree arena that was shrunk back.
  • A SAX parse of a real PPTX part now makes 3 or 4 allocations, fresh or reused (0.10.3: 43 to 85 fresh, 17 to 48 reused).
  • Windows, system allocator, 2,000 real PPTX parts, pinned ABBA (20 pairs): a fresh xml_sax_parse_memory per part is 8.6% faster (54.4 to 49.9 ms) and a reused XmlSaxParser 2.2% faster. Reuse is now worth 0.2% over a fresh parse, down from 7.3%.
  • callgrind Ir on the same parts: 2.75% fewer instructions fresh, 0.92% fewer reused. Tree and HTML parsing are flat (−0.08%, −0.05%). Output is identical to 0.10.3 (#80, #85).

rusty_xml

0.10.4 - 2026-11-20

Performance

  • xml_sax_parse_memory and xml_read_memory start each parse from the buffers the thread's last one-shot parse grew, as an XmlSaxParser does. A thread keeps at most 64 KiB (12 KiB after the 202 XML parts of four PPTX files); a parse that grows more frees its buffers as before.
  • Namespace declarations reuse their frames and prefix and URI buffers. The per-parse setup no longer allocates for encoding names, the XML declaration's version and standalone values, or a no-tree arena that was shrunk back.
  • A SAX parse of a real PPTX part now makes 3 or 4 allocations, fresh or reused (0.10.3: 43 to 85 fresh, 17 to 48 reused).
  • Windows, system allocator, 2,000 real PPTX parts, pinned ABBA (20 pairs): a fresh xml_sax_parse_memory per part is 8.6% faster (54.4 to 49.9 ms) and a reused XmlSaxParser 2.2% faster. Reuse is now worth 0.2% over a fresh parse, down from 7.3%.
  • callgrind Ir on the same parts: 2.75% fewer instructions fresh, 0.92% fewer reused. Tree and HTML parsing are flat (−0.08%, −0.05%). Output is identical to 0.10.3 (#80, #85).

Other

  • Tests: one-shot parses on the thread's pools match parses on a new thread, including a parse made inside a handler callback; README on the per-thread buffers.

rusty_xml-cli

0.10.4 - 2026-11-20

Other

  • release v0.10.4


This PR was generated with release-plz.

@Ttimmahlax

Copy link
Copy Markdown
Contributor

Closing: 0.10.4 is already published from #86. This follow-up only adds a CLI changelog line, which is release-plz's usual placeholder after a release.

@Ttimmahlax Ttimmahlax closed this Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant